import request from '@/utils/request';

export async function reqTyEtiologyList(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiology/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyEtiology(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiology/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyEtiology(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiology/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyEtiology(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiology/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


